Range

Function

This API is used to get the parameter range for Load Default page.

Note:

The Range provides reference information for client UI input limits and API request limits. When sending Set requests, the parameters must be strictly limited according to the Range, otherwise the request may be rejected by the device.

Request Message

None.

Sample:

POST /API/Maintenance/Reset/Range HTTP/1.1
{
    "version": "1.0",
    "data": {
    }
}

Response Message

Parameter Description

Table 1
ParameterRangeTypeDescription
channelboolReset Channel related parameters.
recordboolReset record related parameters.Reset record related parameters
eventboolReset alarm related parameters.Reset alarm related parameters
aiboolReset AI related parameters.Reset ai related parameters
networkboolReset Network related parameters.Reset network related parameters
deviceboolReset Device related parameters.Reset device related parameters
systemboolReset System related parameters.Reset system related parameters
secondary_authenticationMax length: 16stringVerify admin user password for secondary authentication.
intelligentbool Reset Intellight related parameters.Reset intelligent related parameters
except_network_paramboolReset parameters except Network.
base_secondary_authenticationJson ObjectEncrypted authentication structure, see base_secondary_authentication information table for more information.
default_timeout1~120000msintSession timeout field, unit: ms

Tips:

The response message of the Range request may not contain all the fields in the above table, and the fields not included indicate that the device does not support this parameter configuration.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "channel": {
            "type": "bool"
        },
        "record": {
            "type": "bool"
        },
        "event": {
            "type": "bool"
        },
        "ai": {
            "type": "bool"
        },
        "network": {
            "type": "bool"
        },
        "except_network_param": {
            "type": "bool"
        },
        "device": {
            "type": "bool"
        },
        "system": {
            "type": "bool"
        },
        "secondary_authentication": {
            "type": "string",
            "min_len": 0,
            "max_len": 16
        },
        "default_timeout": 60000
    }
}

Error Code

See Response Messages Body and Common error_code for more information.